<!-- 分页 -->
<div class="layui-row project-list-page" style="text-align: center;">
    <div class="layui-box layui-laypage layui-laypage-default">

        <!-- 上一页 -->
        <a  href="<?php if ($data['prev']) echo $data['prev']; else echo 'javascript:'; ?>" class="layui-btn layui-btn-xs <?php if (!$data['prev']) echo 'layui-btn-disabled'; ?>">上一页</a>

        <!-- 当前页 -->
        <span class="layui-laypage-curr">
            <em class="layui-laypage-em"></em>
            <em><?php echo $data['page']; ?>/<?php echo $data['totalPage']; ?></em>
        </span>

        <!-- 下一页 -->
        <a class="layui-btn layui-btn-xs <?php if (!$data['next']) echo 'layui-btn-disabled'; ?>" href="<?php if ($data['next']) echo $data['next']; else echo 'javascript:'; ?>">下一页</a>

    </div>
</div>
<!-- 分页结束 -->